class — Type of entity


\begin{rail}
Class : 'class' '(' ( Scalar \vert Matrix \vert List \vert String \vert Function ) ')' ;
\end{rail}
class returns a string which identifies what the argument is. There are four possible return strings
num for scalar and numeric matricies.
string for strings and string matricies
list for lists
function for built-in and user defined functions.
This function is very useful inside user-defined functions, for both error checking and decision making. The class of a variable or function can also be determined by using the class member reference, as shown below. This technique does not work for a list unless you have given it a class element.

Subsections